app_identifier "com.pier88health.app" # The bundle identifier of your app
username "app@pier88health.com" # your Apple ID user

force true
submit_for_review true
automatic_release false

skip_binary_upload true

#skip_screenshots false
#screenshots_path "./fastlane/screenshots"

skip_metadata false
metadata_path "./fastlane/metadata"

app_review_information({
  first_name: "Xinfang",
  last_name: "Yuan",
  phone_number: "+13128523569",
  email_address: "xyuan@pier88health.com",
  demo_user: "appstore@p8.com or 12100000000",
  demo_password: "p86234",
  notes: File.read('./fastlane/metadata/review_information/notes.txt')
})
#   notes: "For Demo account:  We have support email and phone number password login, Email Login: appstore@p8.com  Password: p86234 sPhone Number Login:  12100000000 Password: p86234  (Make sure you use open Sign in by password window)"
languages(['en-US', 'zh-Hans'])
release_notes(
  'en-US' => File.read('./fastlane/metadata/en-US/release_notes.txt'),
  'zh-Hans' => File.read('./fastlane/metadata/zh-Hans/release_notes.txt')
)

# # 如果选择提交审核，请认真对照以下参数选项，根据自家App实际情况配置，如果配置错误，将不能提交成功
submission_information({
    export_compliance_available_on_french_store: false,
    export_compliance_contains_proprietary_cryptography: false,
    export_compliance_contains_third_party_cryptography: false,
    export_compliance_is_exempt: false,
    export_compliance_uses_encryption: false,
    export_compliance_app_type: nil,
    export_compliance_encryption_updated: false,
    export_compliance_compliance_required: false,
    export_compliance_platform: "ios",
    content_rights_contains_third_party_content: false,
    content_rights_has_rights: false,
    add_id_info_limits_tracking: true,
    add_id_info_serves_ads: false,
    add_id_info_tracks_action: true,
    add_id_info_tracks_install: true,
    add_id_info_uses_idfa: true
});
